﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Webapi.EFCore.Model.ViewModel
{

    public class UserRoleModel
    {
        /// <summary>
        /// Desc:用户ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int UserId { get; set; }

        /// <summary>
        /// Desc:用户名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string UserName { get; set; }

        /// <summary>
        /// Desc:年龄
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Age { get; set; }

        /// <summary>
        /// Desc:角色ID（多个id以‘,’隔开传递）
        /// Default:
        /// Nullable:False
        /// </summary>   
        public string RoleId { get; set; }

    }
}
